package com.zhihuichongcheng.application.util;import com.yunkeshuzhi.common.utils.SSUtils;import java.text.SimpleDateFormat;import java.util.Date;/** * name        :      DateUtils * author      :      LK * email        :      developer_xs@126.com * createdAt  :      2017/6/19 12:54 * version     :      v1.0 */public class DateUtils {    public static String formatDate(Date date) {        if (SSUtils.isEmpty(date)) return null;        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");        return dateFormat.format(date);    }}